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 |
|
Alex Hall
|
dea100b929
|
Add test for exception
|
2019-05-11 13:34:55 +03:00 |
|
Alex Hall
|
f4bae3f1a9
|
Unify imports
|
2019-05-11 09:38:09 +03:00 |
|
Alex Hall
|
3b8de8826e
|
Add indentation tests with new assert_sample_output
|
2019-05-11 09:38:09 +03:00 |
|
Alex Hall
|
af76e55aef
|
Truncate long variables in the middle
|
2019-05-10 20:48:09 +03:00 |
|
Hervé Beraud
|
fae0ce0c76
|
Add support for thread identifiers
Display thread infos (identifier and name) on output to help
user to track execution on apps who use threading.
|
2019-05-10 18:57:50 +03:00 |
|
Ram Rachum
|
0482853d96
|
Remove reprlib because it's not reliable for simple cases
|
2019-05-09 09:15:59 +03:00 |
|
Alex Hall
|
7ac2d59624
|
Improve checks for tracing, add tests for with blocks
|
2019-05-05 18:22:01 +03:00 |
|
Alex Hall
|
750ef4c639
|
Rename to needs_parentheses
|
2019-05-03 22:54:41 +03:00 |
|
Alex Hall
|
7a1b457013
|
Only add parentheses to exploded expressions if needed
|
2019-05-03 22:54:41 +03:00 |
|
Alex Hall
|
2732922e1d
|
Test output directly to Path object (currently fails)
|
2019-05-03 21:45:54 +03:00 |
|
Ram Rachum
|
b805ea0dc4
|
Rename for coolness
|
2019-05-03 18:47:23 +03:00 |
|