()
| 403 | |
| 404 | |
| 405 | def test_traceback_static(): |
| 406 | table1 = T( |
| 407 | """ |
| 408 | | foo |
| 409 | 1 | 1 |
| 410 | """ |
| 411 | ) |
| 412 | table2 = T( |
| 413 | """ |
| 414 | | bar |
| 415 | 2 | 2 |
| 416 | """ |
| 417 | ) |
| 418 | with _assert_error_trace(ValueError): |
| 419 | table1.concat(table2) # cause |
| 420 | with _assert_error_trace(ValueError): |
| 421 | table1 + table2 # cause |
| 422 | with _assert_error_trace(AttributeError): |
| 423 | table1.non_existing # cause |
| 424 | with _assert_error_trace(KeyError): |
| 425 | table1.select(pw.this.non_existing) # cause |
| 426 | |
| 427 | |
| 428 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected