Hugo van Kemenade
48d22353a2
Remove redundant Python 3.6 code
2022-10-11 17:30:10 +02:00
Darren Burns
c94d53e532
Fix some tests on 3.11
2022-07-14 16:48:46 +01:00
Darren Burns
878632c354
Fix test_inspect_text to support Python 3.11
2022-07-14 15:30:52 +01:00
Olivier Philippon
36ffdcf7bd
[_inspect] Add docstrings to our generic functions that determine the type of an object
2022-07-05 15:18:50 +01:00
Olivier Philippon
8b17bc61f8
[_inspect] Add generic functions to determine the type of an object
...
We use these functions to prevent some classes from being displayed in Jupyter notebooks, using their fully qualified names
2022-07-01 12:36:06 +01:00
zephyrkul
a1a880c832
Add test
2022-06-21 15:22:00 -06:00
Will McGugan
e8a9466b94
test fix
2022-06-05 16:04:51 +01:00
Olivier Philippon
78a0229467
[inspect] Replace ASCII special characters with their "non-special" readable version in docstrings
...
With this we allow the following:
- Such characters will be displayed in the data returned by "rich.inspect"
- We fix the crash that can happen in some circumstances in the `Text.divide()` method when some docstrings have such special characters
2022-05-27 14:56:02 +01:00
Michał Górny
f15dc3ea0b
Fix test_inspect failures on PyPy3
...
Mark the test_inspect tests failing on PyPy3 due to different output
to be skipped appropriately.
2022-02-01 15:11:53 +01:00
Darren Burns
8ceeb83fd4
Update changelog, add test for inspecting modules containing classes
2022-01-27 12:36:07 +00:00
Darren Burns
4d1a1a9419
Remove unused import
2022-01-19 15:42:35 +00:00
Darren Burns
7a2c37f077
Handle exceptions thrown from isinstance
2022-01-18 11:42:22 +00:00
Will McGugan
a2b4a959dc
better handling of dataclasses
2021-10-06 13:41:39 +01:00
Will McGugan
f7c078313d
fix TypeError in inspect
2021-01-13 16:51:38 +00:00
Will McGugan
d6ad92a15d
draw panel around value in inspect
2020-12-30 15:21:48 +00:00
Will McGugan
6145f5b936
inspect enhancements
2020-12-29 15:43:57 +00:00
Will McGugan
c30d4ed280
relax test for Py39
2020-10-07 10:59:53 +01:00
landi
b37b6937e2
changed test to use builtin str
2020-09-21 19:00:01 +02:00
landi
af5b5e1088
skip two test on py37 because rendered differently
2020-09-21 02:14:49 +02:00
landi
e04f92ace0
fix test for python 3.6
2020-09-21 01:15:17 +02:00
landi
7f6acd5c51
added tests for inspect
2020-09-21 01:02:49 +02:00
Will McGugan
1cdcd1ae69
restore def
2020-09-07 18:04:56 +01:00
Will McGugan
3691fb19b7
skip fix
2020-09-07 16:57:35 +01:00
Will McGugan
702215c65f
skip py36
2020-09-07 16:54:17 +01:00
Will McGugan
795f1c929b
fix error
2020-09-07 16:49:45 +01:00
Will McGugan
c0a580ca1a
Add rich.inspect
2020-09-07 16:44:31 +01:00