This website requires JavaScript.
Explore
Help
Sign In
p53209761
/
test_ok2
Watch
1
Star
0
Fork
You've already forked test_ok2
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
17a21d540b
test_ok2
/
testing
/
freeze
/
tests
/
test_trivial.py
7 lines
106 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
'
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
'