Skip to content

Commit a597068

Browse files
author
BoboTiG
committed
Cleanup into test/ folder
1 parent 0587ec8 commit a597068

6 files changed

Lines changed: 14 additions & 263 deletions

File tree

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@ MANIFEST
55
*.png
66
*.png.old
77
*.pyc
8-
test/.*
9-
test/data-linux*.raw
10-
tests/
11-
test/test-linux

test/data-windows.raw

-3.4 MB
Binary file not shown.

test/profiling.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

test/test-raw-windows.py

Lines changed: 0 additions & 137 deletions
This file was deleted.

test/test-raw.py

Lines changed: 0 additions & 71 deletions
This file was deleted.

test/timer.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env python
2+
# coding: utf-8
3+
4+
from contextlib import contextmanager
5+
from time import time
6+
7+
8+
@contextmanager
9+
def timer(msg):
10+
''' A little timer. '''
11+
12+
start = time()
13+
yield
14+
print('{}: {} sec'.format(msg, time() - start))

0 commit comments

Comments
 (0)