diff options
author | Tor Norbye <tnorbye@google.com> | 2014-08-20 17:28:18 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2014-08-20 17:28:18 -0700 |
commit | d76e3920c56d37c942092b7dca20fcaded81c0a5 (patch) | |
tree | 80a55c7b59c38377216daaada4e8bc47b69ceb9a /python/testData/testRunner/env/nose/test2.py | |
parent | 3b37877a2561bf9fbe072253a18688807d523505 (diff) | |
parent | 1aa2e09bdbd413eacb677e9fa4b50630530d0656 (diff) | |
download | idea-d76e3920c56d37c942092b7dca20fcaded81c0a5.tar.gz |
Merge remote-tracking branch 'aosp/upstream-master' into merge
Conflicts:
.idea/modules.xml
platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdatesXmlLoader.java
Change-Id: Id899dae9a1e1c79272f8a70e14a7dcef4f760d7f
Diffstat (limited to 'python/testData/testRunner/env/nose/test2.py')
-rw-r--r-- | python/testData/testRunner/env/nose/test2.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/python/testData/testRunner/env/nose/test2.py b/python/testData/testRunner/env/nose/test2.py new file mode 100644 index 000000000000..0a6f80ec7644 --- /dev/null +++ b/python/testData/testRunner/env/nose/test2.py @@ -0,0 +1,18 @@ +#from unittest import TestCase + +class TestNose: + def testOne(self): + assert 5 == 2*2 + + def testTwo(self): + assert True + +def testThree(): + assert 4 == 2*2 + +def test_evens(): + for i in range(0, 5): + yield check_even, i, i*3 + +def check_even(n, nn): + assert n % 2 == 0 or nn % 2 == 0
\ No newline at end of file |