Skip to content

Commit d426ea6

Browse files
committed
lint
1 parent b300c9c commit d426ea6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/requests_advanced_ethernet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
raise AssertionError(
3636
"Failed to resolve hostname, \
3737
please check your router's DNS configuration."
38-
)
38+
) from error
3939
continue
4040
print("-" * 60)
4141

examples/requests_simpletest_ethernet.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
raise AssertionError(
3535
"Failed to resolve hostname, \
3636
please check your router's DNS configuration."
37-
)
37+
) from error
3838
continue
3939
print("-" * 40)
4040

@@ -55,7 +55,7 @@
5555
raise AssertionError(
5656
"Failed to resolve hostname, \
5757
please check your router's DNS configuration."
58-
)
58+
) from error
5959
continue
6060
print("-" * 40)
6161

@@ -77,7 +77,7 @@
7777
raise AssertionError(
7878
"Failed to resolve hostname, \
7979
please check your router's DNS configuration."
80-
)
80+
) from error
8181
continue
8282
print("-" * 40)
8383

@@ -101,7 +101,7 @@
101101
raise AssertionError(
102102
"Failed to resolve hostname, \
103103
please check your router's DNS configuration."
104-
)
104+
) from error
105105
continue
106106
print("-" * 40)
107107

0 commit comments

Comments
 (0)