-
Notifications
You must be signed in to change notification settings - Fork 164
Spelling #1515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Spelling #1515
Changes from all commits
41b33e9
00d5c14
8591293
0f5eff2
0a68316
f498e87
f2d0e9a
c609ee3
3ec555c
c027b4d
c742b20
c0003e2
a653833
8e50eaf
8cb823a
efa599e
ea434bf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ If you believe you have found a security vulnerability in any Microsoft-owned re | |
|
||
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report). | ||
|
||
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). | ||
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). | ||
|
||
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -666,7 +666,7 @@ def test_str_to_num(self): | |
for val_trial, type_trial in correct_trials: | ||
assert isinstance( | ||
json.of_type(type_trial)(val_trial), type_trial | ||
), "Wrong type coversion" | ||
), "Wrong type conversion" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unless some test measurement cares... |
||
|
||
# test conversion that are not expected to work | ||
try: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ A *timeline* is a sequence of [occurrences](#Occurrence), in order in which they | |
|
||
A timeline can be grown by recording new occurrences in it. This is done automatically by the test infrastructure for requests, responses and events occurring in a debug session. Marks are recorded with the `timeline.mark(id)` method, which returns the recorded mark occurrence. It is not possible to "rewrite the history" - once recorded, occurrences can never be forgotten, and do not change. | ||
|
||
Timelines are completely thread-safe for both recording and inspection. However, because a timeline during an active debug session can grow asyncronously as new events and responses are received, it cannot be inspected directly, other than asking for the last occurrence via `timeline.last()` - which is a function rather than a property, indicating that it may return a different value on every subsequent call. | ||
Timelines are completely thread-safe for both recording and inspection. However, because a timeline during an active debug session can grow asynchronously as new events and responses are received, it cannot be inspected directly, other than asking for the last occurrence via `timeline.last()` - which is a function rather than a property, indicating that it may return a different value on every subsequent call. | ||
|
||
It is, however, possible to take a snapshot of a timeline via `timeline.history()`; the returned value is a list of all occurrences that were in the timeline at the point of the call, in order from first to last. This is just a shortcut for `reversed(list(timeline.last()))`. | ||
|
||
|
@@ -112,7 +112,7 @@ and a further shortcut to issue a request, wait for response, and retrieve the r | |
```py | ||
initialize_response_body = debug_session.request('initialize', {'adapterID': 'test'}) | ||
``` | ||
On success, `request()` returns the body of the sucessful response directly, rather than the `Response` object. On failure, it raises the appropriate exception. | ||
On success, `request()` returns the body of the successful response directly, rather than the `Response` object. On failure, it raises the appropriate exception. | ||
|
||
## Expectation algebra | ||
|
||
|
@@ -187,7 +187,7 @@ assert ( | |
) in debug_session.timeline | ||
``` | ||
|
||
### Conjuction (`&`) | ||
### Conjunction (`&`) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these can break incoming links, but hopefully no one cares |
||
|
||
When two expectations are conjuncted: `(A & B)` - the resulting expectation is realized at the occurrence at which `A` and `B` are both realized, regardless of their relative order. Thus: | ||
```py | ||
|
@@ -244,7 +244,7 @@ if handled_request is pause1: | |
... | ||
``` | ||
|
||
### Exclusive disjuction (`^`) | ||
### Exclusive disjunction (`^`) | ||
|
||
When two expectations are exclusively disjuncted: `(A ^ B)` - the resulting expectation is realized at the first occurrence at which either `A` or `B` is realized, but not both. Thus, the expectation: | ||
```py | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,7 +162,7 @@ | |
## Known Limitations | ||
|
||
Some situations are known to cause problems for Versioneer. This details the | ||
most significant ones. More can be found on Github | ||
most significant ones. More can be found on GitHub | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. brand |
||
[issues page](https://github.com/python-versioneer/python-versioneer/issues). | ||
|
||
### Subprojects | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an odd duplication, but I think it's just an error.