Skip to content

Commit

Permalink
adding some more stdlib smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasdorneles authored and patiences committed Jun 14, 2018
1 parent df83d8e commit d5bbcf7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stdlib_tests/test_itertools.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import itertools

print(list(itertools.repeat(4, 5)))
6 changes: 6 additions & 0 deletions stdlib_tests/test_keyword.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from keyword import iskeyword

print(iskeyword('def'))
print(iskeyword('raise'))
print(iskeyword('elif'))
print(iskeyword('not_keyword'))
3 changes: 3 additions & 0 deletions stdlib_tests/test_operator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import operator

print(operator.itemgetter(1)(['a', 'b', 'c']))
1 change: 1 addition & 0 deletions stdlib_tests/test_this.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import this
3 changes: 3 additions & 0 deletions stdlib_tests/test_types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import types

print(types.new_class('SomeClass'))

0 comments on commit d5bbcf7

Please sign in to comment.