OILS / benchmarks / uftrace_allocs_test.py View on Github | oilshell.org

20 lines, 9 significant
1#!/usr/bin/env python2
2"""
3uftrace_allocs_test.py: Tests for uftrace_allocs.py
4"""
5from __future__ import print_function
6
7import unittest
8
9from benchmarks import uftrace_allocs # module under test
10
11
12class PluginTest(unittest.TestCase):
13
14 def testFoo(self):
15 s = uftrace_allocs.Stats('_tmp')
16 print(s)
17
18
19if __name__ == '__main__':
20 unittest.main()