Skip to content

Commit 3c5f278

Browse files
committed
change names
1 parent 6c2cca8 commit 3c5f278

File tree

12 files changed

+31
-7
lines changed

12 files changed

+31
-7
lines changed

hello/hello_world.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
12
'''
23
Created on 2018/03/25
34
45
@author: syuu
56
'''
67

78
import math
8-
9+
910
def test_array(arr=None):
1011
if arr is None:
1112
arr= ['Tokyo', 'Osaka', 'Fukuoka']
@@ -16,11 +17,11 @@ def test_array(arr=None):
1617
s.append(u * 2)
1718
print(s)
1819
print(s[2:5])
19-
20+
2021
input = [1, 3, 5, 7, 9]
2122
outputArr = [u * 2 for u in input if u > 3]
2223
print(outputArr)
23-
24+
2425
def test_math(x=1/2):
2526
print(math.floor(x))
2627
print(math.ceil(x))
@@ -43,7 +44,7 @@ def test_enumerateAndZip():
4344
num=[10,20,30]
4445
for u in zip(input,num):
4546
print(u)
46-
47+
4748
def test_if():
4849
for x in range(10):
4950
if x>2:
@@ -58,14 +59,14 @@ def test_if():
5859
if y > 15:
5960
break
6061
print(y)
61-
62+
6263
def test_function_para(first,*second,**third):
6364
print("the first parameter is ",first)
6465
for sec in second:
6566
print("one of the second paramter is ",sec)
6667
for thr in third:
6768
print("one of the third paratmer is ",thr,":",third[thr])
68-
69+
6970
print("Hello World")
7071
test_array()
7172
test_math()
@@ -74,4 +75,3 @@ def test_function_para(first,*second,**third):
7475
test_if()
7576
test_function_para("human","dog","bird","cat",
7677
one="one",two="two")
77-
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/.pytest_cache/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# pytest cache directory #
2+
3+
This directory contains data from the pytest's cache plugin,
4+
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
5+
6+
**Do not** commit this to version control.
7+
8+
See [the docs](https://docs.pytest.org/en/latest/cache.html) for more information.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"test_hello.py::test_1": true
3+
}

0 commit comments

Comments
 (0)