OILS / core / pyutil_test.py View on Github | oilshell.org

17 lines, 8 significant
1#!/usr/bin/env python2
2"""pyutil_test.py: Tests for pyutil.py."""
3from __future__ import print_function
4
5import unittest
6
7import pyutil # module under test
8
9
10class PyUtilTest(unittest.TestCase):
11
12 def testBackslashEscape(self):
13 print(pyutil.BackslashEscape('foo', 'o'))
14
15
16if __name__ == '__main__':
17 unittest.main()