##// END OF EJS Templates
Explicitly use posixpath for test...
Thomas Kluyver -
Show More
@@ -408,10 +408,10 b' def test_mappingproxy():'
408
408
409 def test_function_pretty():
409 def test_function_pretty():
410 "Test pretty print of function"
410 "Test pretty print of function"
411 # posixpath is a pure python function, its interface is consistent
411 # posixpath is a pure python module, its interface is consistent
412 # across Python distributions
412 # across Python distributions
413 import os
413 import posixpath
414 nt.assert_equal(pretty.pretty(os.path.join), '<function posixpath.join(a, *p)>')
414 nt.assert_equal(pretty.pretty(posixpath.join), '<function posixpath.join(a, *p)>')
415
415
416 # custom function
416 # custom function
417 def meaning_of_life(question=None):
417 def meaning_of_life(question=None):
General Comments 0
You need to be logged in to leave comments. Login now