Ram Rachum
|
76fa4d8ee9
|
Working on generator bug, got failing test
|
2020-06-12 12:09:17 +03:00 |
|
Ram Rachum
|
1b66b2ea4b
|
Move tests around
|
2020-06-12 12:09:17 +03:00 |
|
Ram Rachum
|
473bb37a76
|
Add testing for exceptions
|
2020-05-05 14:37:01 +03:00 |
|
Ram Rachum
|
a602866ce1
|
Fix bug in OutputCapturer
|
2020-05-05 14:18:18 +03:00 |
|
Ram Rachum
|
43ed249e8c
|
Massaging some code
|
2020-04-21 14:50:39 +03:00 |
|
iory
|
612e6ebed7
|
Add elapsed_time check for test
|
2020-04-21 14:50:39 +03:00 |
|
iory
|
2ac382f856
|
Fixed test for elapsed time entry
|
2020-04-21 14:50:39 +03:00 |
|
iory
|
d94b0214f9
|
Rename relative_time to elapsed_time
|
2020-04-21 14:50:39 +03:00 |
|
iory
|
ee7be80b44
|
Add test for relative_time
|
2020-04-21 14:50:39 +03:00 |
|
iory
|
57cec2b9af
|
Fixed test for elapsed time
|
2020-04-21 14:50:39 +03:00 |
|
iory
|
32183e0489
|
Add BasePrintEntry and ElapsedPrintEntry
|
2020-04-21 14:50:39 +03:00 |
|
Itamar.Raviv
|
0c5834196a
|
Add normalize flag to remove machine-specific data
This allows for diffing between multiple PySnooper outputs.
|
2019-11-19 19:07:02 +02:00 |
|
Guoqiang Ding
|
c0bf4bd006
|
Fix unit tests on thread_info
The length of thread's ident between "MainThread" and others are not
always equal. So use another way to check it.
|
2019-09-17 20:20:30 +03:00 |
|
Ram Rachum
|
32c86da200
|
Massaging some code
|
2019-09-15 22:06:18 +03:00 |
|
Guoqiang Ding
|
e5fe6986dd
|
Add truncate option support
|
2019-09-15 22:06:18 +03:00 |
|
Ram Rachum
|
e3e09d31b5
|
Add test for decorating when DISABLED = True
Fix #154
|
2019-09-14 13:56:44 +03:00 |
|
Ram Rachum
|
e2aa42bd6d
|
Tests: Better time regex and placeholder
|
2019-09-14 11:29:26 +03:00 |
|
Ram Rachum
|
85c929285e
|
Make tests even nicer
|
2019-09-14 11:29:10 +03:00 |
|
Ram Rachum
|
1ef8beb90b
|
Make tests nicer
|
2019-09-13 21:48:11 +03:00 |
|
Ram Rachum
|
53bc524b7e
|
Reject coroutine functions and async generator functions #152
|
2019-09-13 20:24:24 +03:00 |
|
Jonathan Reichelt Gjertsen
|
d6330dc6a6
|
Update regexes in tests to work with Python 2.7
|
2019-09-08 22:05:21 +03:00 |
|
Jonathan Reichelt Gjertsen
|
8d7d21d0d8
|
Use slightly more specific regexes in the tests
|
2019-09-08 22:05:21 +03:00 |
|
Jonathan Reichelt Gjertsen
|
b4b425c652
|
Avoid snooping on the base class
|
2019-09-08 22:05:21 +03:00 |
|
Jonathan Reichelt Gjertsen
|
d89099aadd
|
Add some more tests for the behaviour with decorators
|
2019-09-08 22:05:21 +03:00 |
|
Jonathan Reichelt Gjertsen
|
7bb844d518
|
Move the class-tests to the right place chronologically
|
2019-09-08 22:05:21 +03:00 |
|
Jonathan Reichelt Gjertsen
|
87f7b5d4b2
|
Add a test to demonstrate the suboptimal but noncatastrophic behaviour when used with properties
|
2019-09-08 22:05:21 +03:00 |
|
Jonathan Reichelt Gjertsen
|
5ed81cb848
|
Add support for wrapping classes (https://github.com/cool-RR/PySnooper/issues/150)
|
2019-09-08 22:05:21 +03:00 |
|
Ram Rachum
|
297b3cd8d7
|
Show source path, especially when multiple files
|
2019-08-10 14:19:01 +03:00 |
|
Ram Rachum
|
814abc34a0
|
Support single tuple to custom_repr, fix #144
|
2019-07-30 11:14:35 +03:00 |
|
Ram Rachum
|
c2e44fb583
|
Improve ensure_tuple
|
2019-07-17 09:32:19 +03:00 |
|
Ram Rachum
|
78a539a2a5
|
Massaging some code
|
2019-06-18 20:34:25 +02:00 |
|
pikez
|
d7d3a80c16
|
Fix unittest for activating pysnooper
|
2019-06-18 20:34:25 +02:00 |
|
pikez
|
b4c8c16ed9
|
remove setup function and description
|
2019-06-18 20:34:25 +02:00 |
|
pikez
|
f1582fc16c
|
add unittest for activate and setup snoop
|
2019-06-18 20:34:25 +02:00 |
|
Ram Rachum
|
7687ee1c26
|
Fix formatting
|
2019-06-15 15:56:34 +02:00 |
|
Ram Rachum
|
f793796ad3
|
Removing python_toolbox test dependency
|
2019-06-15 15:56:34 +02:00 |
|
Xiang Gao
|
25dcc9ff62
|
sort list of dict keys
|
2019-05-30 09:02:11 +03:00 |
|
Xiang Gao
|
77e6c54456
|
remove numpy from test
|
2019-05-30 09:02:11 +03:00 |
|
Xiang Gao
|
7c7e7eb81a
|
Changes according to review
|
2019-05-30 09:02:11 +03:00 |
|
Xiang Gao
|
4a32e77b33
|
Add support for custom repr
|
2019-05-30 09:02:11 +03:00 |
|
Ram Rachum
|
56f22f8ffe
|
Fix unicode issues and add test, fix #124
|
2019-05-20 11:42:39 +03:00 |
|
Ram Rachum
|
e21a31162f
|
Formatting
|
2019-05-20 11:15:57 +03:00 |
|
Alexander Bersenev
|
a73ea14f58
|
get rid from six module
|
2019-05-14 17:47:33 +03:00 |
|
Nikita Melentev
|
5698d6c3e2
|
Support generators
|
2019-05-11 15:09:37 +03:00 |
|
Alexander Bersenev
|
cb280323e5
|
Don't always place new variables before the modified ones
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
ca90f55d5f
|
Make order test more reliable on pypy
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
2a6b2b4299
|
Variable ordering test
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
17d8a41b3b
|
Restore cell vars support in the ordered printing.
|
2019-05-11 14:25:47 +03:00 |
|
Alexander Bersenev
|
92ff55d2f1
|
Make predictable order of items if we don't know the proper order.
Also fix tests
|
2019-05-11 14:25:47 +03:00 |
|
Alex Hall
|
90a1946529
|
Newest python versions have different repr for exceptions, avoid altogether
|
2019-05-11 13:34:55 +03:00 |
|