This website requires JavaScript.
Explore
Help
Sign In
jiuyuan
/
test_ok1
Watch
2
Star
0
Fork
You've already forked test_ok1
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
05cfdcc8cb
test_ok1
/
testing
/
freeze
/
tests
/
test_trivial.py
8 lines
107 B
Python
Raw
Normal View
History
Unescape
Escape
Use PyInstaller for freeze test env cx_freeze doesn't seem to be very well supported in Python 3.5. Using pyinstaller instead and rename environment to "freeze" which is a more generic term for freezing python code into standalone executables. Fix #1769
2016-07-27 08:29:07 +08:00
def
test_upper
(
)
:
assert
'
foo
'
.
upper
(
)
==
'
FOO
'
Fixed E302 flake8 errors expected 2 blank lines, found 0
2017-07-17 07:25:09 +08:00
Use PyInstaller for freeze test env cx_freeze doesn't seem to be very well supported in Python 3.5. Using pyinstaller instead and rename environment to "freeze" which is a more generic term for freezing python code into standalone executables. Fix #1769
2016-07-27 08:29:07 +08:00
def
test_lower
(
)
:
Fixed flake8 warnings W191 indentation contains tabs W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
2017-07-17 07:25:06 +08:00
assert
'
FOO
'
.
lower
(
)
==
'
foo
'