mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content.
This commit is contained in:
parent
6f17e2df29
commit
7fafbc95c0
164 changed files with 25 additions and 12436 deletions
8
Tools/test2to3/test/test_foo.py
Normal file
8
Tools/test2to3/test/test_foo.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import sys
|
||||
import unittest
|
||||
|
||||
class FooTest(unittest.TestCase):
|
||||
def test_foo(self):
|
||||
# use 2.6 syntax to demonstrate conversion
|
||||
print 'In test_foo, using Python %s...' % (sys.version_info,)
|
||||
self.assertTrue(False)
|
||||
Loading…
Add table
Add a link
Reference in a new issue