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